package com.qfedu.hotelssm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author javaqjb
 * @date 2022/8/29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Complait {
    //用户编号
   private Integer id;
    //投诉类型
   private String genre;
    //投诉日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
   private Date day;
    //投诉内容
   private String content;
    //投诉状态
   private String state;
   //投诉回访
   private String callback;
   //受理人
   private String acceptor;

}
